//
//  WHTFirstPageSearchModel.m
//  WZLProduct
//
//  Created by dllo on 16/3/24.
//  Copyright © 2016年 HaiTeng. All rights reserved.
//

#import "WHTFirstPageSearchModel.h"

@implementation WHTFirstPageSearchModel

- (void)setValue:(id)value forUndefinedKey:(NSString *)key{
    if ([key isEqualToString:@"location"]) {
        _lat = value[@"lat"];
        _lng = value[@"lng"];
    }
}

- (void)setValue:(id)value forKey:(NSString *)key
{
    [super setValue:value forKey:key];
    if ([key isEqualToString:@"id"]) {
        _ID = value;
    }
}

@end
